package com.jiejie.service;



public interface OrderRedisService {
    //保存一个order到redis
    //public boolean saveOrder2Redis(MyOrder order);

    //从redis中获得某一个order
    //public MyOrder getOrderByIdFromRedis(Integer customerId, Integer orderId);

    //用户不在线，服务器发送的消息 存储到redis中
    public boolean saveUnPayedMessage2Redis(Integer customerId, Integer orderId);
    //用户上线时，读取redis中 的消息
    public String getUnReadMessageFromRedis(Integer customerId, Integer orderId);
}
